package guijavacommander.tasks;

import guijavacommander.tasks.ProgressListener;

/**
 * User: Deady
 * Date: 16.07.2009
 * Time: 11:38:32
 */
public interface Task {

    public void execute();
    public int getMin();
    public int getMax();
    public void addProgressListener(ProgressListener l);
    public void addDescriptionListener(DescriptionListener l);
    public String getDescription();

    void requestStop();
}
